{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "id": "d3e4e9a3-0a70-425c-9ce4-e565214dc6c8",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Package                      Version\n",
      "---------------------------- -----------\n",
      "absl-py                      2.1.0\n",
      "anyio                        4.2.0\n",
      "argon2-cffi                  21.3.0\n",
      "argon2-cffi-bindings         21.2.0\n",
      "asttokens                    2.0.5\n",
      "astunparse                   1.6.3\n",
      "async-lru                    2.0.4\n",
      "attrs                        23.1.0\n",
      "Babel                        2.11.0\n",
      "backcall                     0.2.0\n",
      "beautifulsoup4               4.12.3\n",
      "bleach                       4.1.0\n",
      "blinker                      1.8.2\n",
      "Brotli                       1.0.9\n",
      "cachetools                   5.5.0\n",
      "certifi                      2024.8.30\n",
      "cffi                         1.16.0\n",
      "charset-normalizer           3.3.2\n",
      "click                        8.1.7\n",
      "comm                         0.2.1\n",
      "contourpy                    1.1.1\n",
      "cycler                       0.12.1\n",
      "debugpy                      1.6.7\n",
      "decorator                    4.4.2\n",
      "deepface                     0.0.93\n",
      "defusedxml                   0.7.1\n",
      "et-xmlfile                   1.1.0\n",
      "exceptiongroup               1.2.0\n",
      "executing                    0.8.3\n",
      "facenet-pytorch              2.6.0\n",
      "fastjsonschema               2.16.2\n",
      "fer                          22.5.1\n",
      "ffmpeg                       1.4\n",
      "filelock                     3.16.1\n",
      "fire                         0.7.0\n",
      "Flask                        3.0.3\n",
      "Flask-Cors                   5.0.0\n",
      "flatbuffers                  24.3.25\n",
      "fonttools                    4.53.1\n",
      "fsspec                       2024.10.0\n",
      "gast                         0.4.0\n",
      "gdown                        5.2.0\n",
      "google-auth                  2.35.0\n",
      "google-auth-oauthlib         1.0.0\n",
      "google-pasta                 0.2.0\n",
      "grpcio                       1.67.1\n",
      "gunicorn                     23.0.0\n",
      "h11                          0.14.0\n",
      "h5py                         3.11.0\n",
      "httpcore                     1.0.2\n",
      "httpx                        0.27.0\n",
      "idna                         3.7\n",
      "imageio                      2.35.1\n",
      "imageio-ffmpeg               0.5.1\n",
      "importlib-metadata           7.0.1\n",
      "importlib_resources          6.4.0\n",
      "ipykernel                    6.28.0\n",
      "ipython                      8.12.2\n",
      "ipywidgets                   8.1.2\n",
      "itsdangerous                 2.2.0\n",
      "jedi                         0.19.1\n",
      "Jinja2                       3.1.4\n",
      "joblib                       1.4.2\n",
      "json5                        0.9.6\n",
      "jsonschema                   4.19.2\n",
      "jsonschema-specifications    2023.7.1\n",
      "jupyter                      1.0.0\n",
      "jupyter_client               8.6.0\n",
      "jupyter-console              6.6.3\n",
      "jupyter_core                 5.7.2\n",
      "jupyter-events               0.10.0\n",
      "jupyter-lsp                  2.2.0\n",
      "jupyter_server               2.14.1\n",
      "jupyter_server_terminals     0.4.4\n",
      "jupyterlab                   4.2.5\n",
      "jupyterlab-pygments          0.1.2\n",
      "jupyterlab_server            2.27.3\n",
      "jupyterlab-widgets           3.0.10\n",
      "keras                        2.13.1\n",
      "kiwisolver                   1.4.7\n",
      "libclang                     18.1.1\n",
      "Markdown                     3.7\n",
      "MarkupSafe                   2.1.3\n",
      "matplotlib                   3.7.5\n",
      "matplotlib-inline            0.1.6\n",
      "mistune                      2.0.4\n",
      "mkl-fft                      1.3.8\n",
      "mkl-random                   1.2.4\n",
      "mkl-service                  2.4.0\n",
      "moviepy                      1.0.3\n",
      "mpmath                       1.3.0\n",
      "mtcnn                        0.1.1\n",
      "nbclient                     0.8.0\n",
      "nbconvert                    7.10.0\n",
      "nbformat                     5.9.2\n",
      "nest-asyncio                 1.6.0\n",
      "networkx                     3.1\n",
      "notebook                     7.2.2\n",
      "notebook_shim                0.2.3\n",
      "numpy                        1.24.3\n",
      "nvidia-cublas-cu12           12.1.3.1\n",
      "nvidia-cuda-cupti-cu12       12.1.105\n",
      "nvidia-cuda-nvrtc-cu12       12.1.105\n",
      "nvidia-cuda-runtime-cu12     12.1.105\n",
      "nvidia-cudnn-cu12            8.9.2.26\n",
      "nvidia-cufft-cu12            11.0.2.54\n",
      "nvidia-curand-cu12           10.3.2.106\n",
      "nvidia-cusolver-cu12         11.4.5.107\n",
      "nvidia-cusparse-cu12         12.1.0.106\n",
      "nvidia-nccl-cu12             2.19.3\n",
      "nvidia-nvjitlink-cu12        12.6.77\n",
      "nvidia-nvtx-cu12             12.1.105\n",
      "oauthlib                     3.2.2\n",
      "opencv-contrib-python        4.10.0.84\n",
      "opencv-python                4.10.0.84\n",
      "openpyxl                     3.1.5\n",
      "opt_einsum                   3.4.0\n",
      "overrides                    7.4.0\n",
      "packaging                    24.1\n",
      "pandas                       2.0.3\n",
      "pandocfilters                1.5.0\n",
      "parso                        0.8.3\n",
      "pexpect                      4.8.0\n",
      "pickleshare                  0.7.5\n",
      "pillow                       10.2.0\n",
      "pip                          24.2\n",
      "pkgutil_resolve_name         1.3.10\n",
      "platformdirs                 3.10.0\n",
      "ply                          3.11\n",
      "proglog                      0.1.10\n",
      "prometheus-client            0.14.1\n",
      "prompt-toolkit               3.0.43\n",
      "protobuf                     4.25.5\n",
      "psutil                       5.9.0\n",
      "ptyprocess                   0.7.0\n",
      "pure-eval                    0.2.2\n",
      "pyasn1                       0.6.1\n",
      "pyasn1_modules               0.4.1\n",
      "pycparser                    2.21\n",
      "Pygments                     2.15.1\n",
      "pyparsing                    3.1.4\n",
      "PyQt5                        5.15.10\n",
      "PyQt5-sip                    12.13.0\n",
      "PySocks                      1.7.1\n",
      "python-dateutil              2.9.0.post0\n",
      "python-json-logger           2.0.7\n",
      "pytz                         2024.1\n",
      "PyYAML                       6.0.1\n",
      "pyzmq                        25.1.2\n",
      "qtconsole                    5.5.1\n",
      "QtPy                         2.4.1\n",
      "referencing                  0.30.2\n",
      "requests                     2.32.3\n",
      "requests-oauthlib            2.0.0\n",
      "retina-face                  0.0.17\n",
      "rfc3339-validator            0.1.4\n",
      "rfc3986-validator            0.1.1\n",
      "rpds-py                      0.10.6\n",
      "rsa                          4.9\n",
      "scikit-learn                 1.3.2\n",
      "scipy                        1.10.1\n",
      "seaborn                      0.13.2\n",
      "Send2Trash                   1.8.2\n",
      "setuptools                   72.1.0\n",
      "sip                          6.7.12\n",
      "six                          1.16.0\n",
      "sniffio                      1.3.0\n",
      "soupsieve                    2.5\n",
      "stack-data                   0.2.0\n",
      "sympy                        1.13.3\n",
      "tensorboard                  2.13.0\n",
      "tensorboard-data-server      0.7.2\n",
      "tensorflow                   2.13.1\n",
      "tensorflow-estimator         2.13.0\n",
      "tensorflow-io-gcs-filesystem 0.34.0\n",
      "termcolor                    2.4.0\n",
      "terminado                    0.17.1\n",
      "threadpoolctl                3.5.0\n",
      "tinycss2                     1.2.1\n",
      "tomli                        2.0.1\n",
      "torch                        2.2.2\n",
      "torchaudio                   0.11.0\n",
      "torchinfo                    1.8.0\n",
      "torchsummary                 1.5.1\n",
      "torchvision                  0.17.2\n",
      "tornado                      6.4.1\n",
      "tqdm                         4.66.5\n",
      "traitlets                    5.14.3\n",
      "triton                       2.2.0\n",
      "typing_extensions            4.5.0\n",
      "tzdata                       2024.1\n",
      "urllib3                      2.2.2\n",
      "wcwidth                      0.2.5\n",
      "webencodings                 0.5.1\n",
      "websocket-client             1.8.0\n",
      "Werkzeug                     3.0.6\n",
      "wheel                        0.44.0\n",
      "widgetsnbextension           4.0.10\n",
      "wrapt                        1.16.0\n",
      "xgboost                      2.1.1\n",
      "zipp                         3.17.0\n"
     ]
    }
   ],
   "source": [
    "!pip list"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "id": "f0034716-0089-4f87-9ee3-04dfc6602151",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "nvcc: NVIDIA (R) Cuda compiler driver\n",
      "Copyright (c) 2005-2021 NVIDIA Corporation\n",
      "Built on Thu_Nov_18_09:45:30_PST_2021\n",
      "Cuda compilation tools, release 11.5, V11.5.119\n",
      "Build cuda_11.5.r11.5/compiler.30672275_0\n"
     ]
    }
   ],
   "source": [
    "!nvcc --version"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "id": "3e12bff3-8a78-4e1a-a2b9-17ba46d9ecf3",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "ii  cudnn-local-repo-ubuntu2204-8.9.7.29       1.0-1                                      amd64        cudnn-local repository configuration files\n",
      "ii  libcudnn8                                  8.9.7.29-1+cuda12.2                        amd64        cuDNN runtime libraries\n",
      "ii  libcudnn8-dev                              8.9.7.29-1+cuda12.2                        amd64        cuDNN development libraries and headers\n",
      "ii  libcudnn8-samples                          8.9.7.29-1+cuda12.2                        amd64        cuDNN samples\n"
     ]
    }
   ],
   "source": [
    "!dpkg -l | grep cudnn"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.8.19"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
